package com.stox.ui.javafx.list.client;

import java.util.List;

import com.stox.dto.Scrip;
import com.stox.dto.WatchList;

public interface WatchListClient {

	public List<WatchList> findByParentId(Long id);
	
	public List<Scrip> findEntriesByWatchListId(Long id);
	
	public Long save(WatchList watchList);
	
	public void moveEntry(Long id, Long oldWatchListId, Long newWatchListId);
	
	public void rename(Long id, String newName);
	
	public void addToWatchList(List<Long> entryIds, Long watchListId);
	
	public void deleteByParentId(Long parentId);
	
	public void deleteEntriesByParentId(Long parentId);
	
	public void clear(Long id);
	
	public void deleteWatchList(Long id);
	
	public void deleteWatchListEntry(Long entryId, Long watchListId);
	
}
